package com.xll.service;

import com.alibaba.fastjson.JSONObject;
import com.xll.entity.Hotel;
import com.xll.utils.QueryInfo;
import com.xll.utils.Result;

public interface HotelService {
    Result delete(Long id);

    Result update(Hotel hotel);

    Result findPage(QueryInfo queryInfo);

    Result  insert(Hotel hotel);

    Result findAllByType(JSONObject jsonObject);

    Result findById(Long id);
}
